Skip to main content
Version: 2.9.14 - 2.9.13

NB IoT

api.nbSend(addr, port, msg, timeout, type)

Sends buffer msg to NB on specified IP, port and protocol type. Maximum length of Rx and Tx messages is 512 Bytes. Maximum execution time is limited by timeout milliseconds.

api.nbAT(command, timeout, wakeUp)

Sends an AT command to NB module with specified timeout.

Print of AT command can be turned ON and OFF by using this command:

-- AT_DEBUG_OFF - turn off 
-- AT_DEBUG_ON - turn on
-- REINITIALIZE - re-initialize the NB-IoT module
-- ICCID? - returns ICCID value of current SIM card
-- IMSI? - returns IMSI value of current SIM card
-- IMEI? - returns IMEI value of the modem
api.nbAT("AT_DEBUG_ON")